import React from "react";
import WebFont from "../../../component/base/Font";
import Context from "../../Context";

export default class Refresh extends React.Component
{
    render ()
    {
        return <Context.Consumer>
            {context => ( <span className="menu-nav-span" onClick={context.handleRefresh}>
                <WebFont icon="repeat"/>
            </span>)}
        </Context.Consumer>
    }
}